<?php
require('conn.php');
$url=$site.'/reg_wx.php?uid='.$_GET['uid'];
?>
<script>location.href='http://f.fast-php.com/wxapi/gate.php?back=<?php echo urlencode($url)?>&force=1'</script>